package com.example.petadopt.entity;

/**
 * 收藏实体类
 */
public class Collect {
    private Long id;
    private Long petId;
    private Long collectUserId;
    private String collectTime;

    public Collect() {
    }

    public Collect(Long id, Long petId, Long collectUserId, String collectTime) {
        this.id = id;
        this.petId = petId;
        this.collectUserId = collectUserId;
        this.collectTime = collectTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPetId() {
        return petId;
    }

    public void setPetId(Long petId) {
        this.petId = petId;
    }

    public Long getCollectUserId() {
        return collectUserId;
    }

    public void setCollectUserId(Long collectUserId) {
        this.collectUserId = collectUserId;
    }

    public String getCollectTime() {
        return collectTime;
    }

    public void setCollectTime(String collectTime) {
        this.collectTime = collectTime;
    }
} 